package org.jash.learnmvp.entity;

import java.util.List;

public class CategoryEntity {
    /**
     * code : 0
     * msg : 操作成功
     * data : [{"id":1,"name":"篮球","info":"篮球相关","createTime":"2023-11-08 16:37:19"},{"id":3,"name":"足球","info":"足球相关","createTime":"2023-11-15 10:42:10"},{"id":4,"name":"电竞","info":"电竞相关","createTime":"2023-11-15 13:44:54"},{"id":5,"name":"游泳","info":"游泳相关","createTime":"2023-11-15 13:45:12"},{"id":6,"name":"田竞","info":"田竞相关","createTime":"2023-11-15 13:45:45"},{"id":7,"name":"网球","info":"网球相关","createTime":"2023-11-15 13:46:49"},{"id":8,"name":"乒乓球","info":"乒乓球相关","createTime":"2023-11-15 13:47:51"},{"id":9,"name":"橄榄球","info":"橄榄球相关","createTime":"2023-11-15 13:48:33"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * name : 篮球
         * info : 篮球相关
         * createTime : 2023-11-08 16:37:19
         */

        private int id;
        private String name;
        private String info;
        private String createTime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
    }
}
